package com.yiren.manager.form.vip;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrUserVipCardForm extends GenericForm{

	private static final long serialVersionUID = 9110385256774069408L;

	private String userVipCardId;

	private Integer buckleNumber;

	private String cardId;

	private Integer consumptionType;

	private String consumptionWay;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private Float discount;

	private String email;

	private String houseTypeId;

	private String houseTypeName;

	private String liveAddress;

	private String name;

	private Integer payCostStatus;

	private String phoneNumber;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date prePayDate;

	private Float pricePerDay;

	private String remark;

	private Integer sex;

	private Integer status;

	private String subsidization;

	private Integer subsidizationType;

	private String subsidizationValue;

	private Float surplusMonths;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private Integer useStatus;

	private String vipCardId;

	private String vipCardName;
	
	private String creator;
	
	private String mender;
	
	private YrUserVipCardRecordForm userVipCardRecordForm;
	
	private List<YrUserVipCardRentForm> userVipCardRentForms;
	
	private Integer durableYears;
	
	private Integer deductNumber;
	
	private Float priceYear;
	
	private Float totalPay;
	
	public Float getTotalPay() {
		return totalPay;
	}

	public void setTotalPay(Float totalPay) {
		this.totalPay = totalPay;
	}

	public Float getPriceYear() {
		return priceYear;
	}

	public void setPriceYear(Float priceYear) {
		this.priceYear = priceYear;
	}

	public Integer getDeductNumber() {
		return deductNumber;
	}

	public void setDeductNumber(Integer deductNumber) {
		this.deductNumber = deductNumber;
	}

	public Integer getDurableYears() {
		return durableYears;
	}

	public void setDurableYears(Integer durableYears) {
		this.durableYears = durableYears;
	}

	private Float officialPrice;
	
	public Float getOfficialPrice() {
		return officialPrice;
	}

	public void setOfficialPrice(Float officialPrice) {
		this.officialPrice = officialPrice;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getMender() {
		return mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	public YrUserVipCardRecordForm getUserVipCardRecordForm() {
		return userVipCardRecordForm;
	}

	public void setUserVipCardRecordForm(YrUserVipCardRecordForm userVipCardRecordForm) {
		this.userVipCardRecordForm = userVipCardRecordForm;
	}

	public List<YrUserVipCardRentForm> getUserVipCardRentForms() {
		return userVipCardRentForms;
	}

	public void setUserVipCardRentForms(List<YrUserVipCardRentForm> userVipCardRentForms) {
		this.userVipCardRentForms = userVipCardRentForms;
	}

	public String getConsumptionWay() {
		return consumptionWay;
	}

	public void setConsumptionWay(String consumptionWay) {
		this.consumptionWay = consumptionWay;
	}

	public String getHouseTypeName() {
		return houseTypeName;
	}

	public void setHouseTypeName(String houseTypeName) {
		this.houseTypeName = houseTypeName;
	}

	public String getUserVipCardId() {
		return userVipCardId;
	}

	public void setUserVipCardId(String userVipCardId) {
		this.userVipCardId = userVipCardId;
	}

	public Integer getBuckleNumber() {
		return buckleNumber;
	}

	public void setBuckleNumber(Integer buckleNumber) {
		this.buckleNumber = buckleNumber;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public Integer getConsumptionType() {
		return consumptionType;
	}

	public void setConsumptionType(Integer consumptionType) {
		this.consumptionType = consumptionType;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getHouseTypeId() {
		return houseTypeId;
	}

	public void setHouseTypeId(String houseTypeId) {
		this.houseTypeId = houseTypeId;
	}

	public String getLiveAddress() {
		return liveAddress;
	}

	public void setLiveAddress(String liveAddress) {
		this.liveAddress = liveAddress;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPayCostStatus() {
		return payCostStatus;
	}

	public void setPayCostStatus(Integer payCostStatus) {
		this.payCostStatus = payCostStatus;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Date getPrePayDate() {
		return prePayDate;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setPrePayDate(Date prePayDate) {
		this.prePayDate = prePayDate;
	}

	public Float getPricePerDay() {
		return pricePerDay;
	}

	public void setPricePerDay(Float pricePerDay) {
		this.pricePerDay = pricePerDay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSubsidization() {
		return subsidization;
	}

	public void setSubsidization(String subsidization) {
		this.subsidization = subsidization;
	}

	public Integer getSubsidizationType() {
		return subsidizationType;
	}

	public void setSubsidizationType(Integer subsidizationType) {
		this.subsidizationType = subsidizationType;
	}

	public String getSubsidizationValue() {
		return subsidizationValue;
	}

	public void setSubsidizationValue(String subsidizationValue) {
		this.subsidizationValue = subsidizationValue;
	}

	public Float getSurplusMonths() {
		return surplusMonths;
	}

	public void setSurplusMonths(Float surplusMonths) {
		this.surplusMonths = surplusMonths;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(Integer useStatus) {
		this.useStatus = useStatus;
	}

	public String getVipCardId() {
		return vipCardId;
	}

	public void setVipCardId(String vipCardId) {
		this.vipCardId = vipCardId;
	}

	public String getVipCardName() {
		return vipCardName;
	}

	public void setVipCardName(String vipCardName) {
		this.vipCardName = vipCardName;
	}
	
}
